<!DOCTYPE HTML>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>{{ session()->get('doain')->name }} - 管理后台</title>

		<link href="http://7xtfzn.com1.z0.glb.clouddn.com/Fontawesom/css/font-awesome.min.css" rel="stylesheet">
		<link href="http://7xtfzn.com1.z0.glb.clouddn.com/Fontawesom/css/font-awesome-ie7.min.css" rel="stylesheet">
		<link href="http://cdn.bootcss.com/animate.css/3.5.2/animate.min.css" rel="stylesheet">
		<link href="{{ asset('akl/UI/Aikla/css/base.css') }}" rel="stylesheet">

		<script type="text/javascript" src="{{ asset('akl/jQuery/jquery.min.js') }}"></script>
		<script type="text/javascript" src="{{ asset('akl/Layer/layer.js') }}"></script>
		<script type="text/javascript" src="{{ asset('akl/UI/Aikla/js/plugin.js') }}"></script>
		<script type="text/javascript" src="{{ asset('akl/UI/Aikla/js/base.js') }}"></script>
	</head>
	<body id="admin">
		<div class="full-view">
			<div id="top-bar" class="main-view">
				<a href="/" target="_blank" class="fl logo" title="返回首页"></a>
				<ul class="fl menu">
					<li>
						<a class="fstMenu" href="/Admin/Article/index"><i class="fa fa-file-text-o"></i> 文章管理</a>
					</li>
					<li>
						<a class="fstMenu" href="/Admin/Admin/index"><i class="fa fa-user"></i> 用户管理</a>
					</li>
					<li>
						<a class="fstMenu" href="/Admin/Role/index"><i class="fa fa-check-square-o"></i> 角色管理</a>
					</li>
					<li>
						<a class="fstMenu" href="/Admin/Brand/index"><i class="fa fa-check-square-o"></i> 品牌管理</a>
					</li>
					@if(Auth::user()->partid==1)
						<li>
							<a class="fstMenu" href="/Admin/Nav/index"><i class="fa fa-bars"></i> 导航管理</a>
						</li>
						<li>
							<a class="fstMenu" href="/Admin/Department/index"><i class="fa fa-bars"></i> 子站管理</a>
						</li>
					@endif
					<li>
						<a class="fstMenu" href="/Admin/Composition/index"><i class="fa fa-check-square-o"></i> 组成管理</a>
					</li>
					<li>
						<a class="fstMenu" href="/Admin/config/index"><i class="fa fa-check-square-o"></i> 网站设置</a>
					</li>

				</ul>
				<a class="login-out" href="/Admin/Index/logout"><i class="fa fa-sign-out"></i> 退出登陆</a>
				<a class="login-out" >{{ Auth::user()->name }}</a>
			</div>
			<div id="left-bar" class="left-view">
				<ul class="nav">
					<li>
						<a class="menu" href="/Admin/Article/index">
							<i class="fa fa-file-text-o"></i>
							<span>文章</span>
						</a>
					</li>
					<li>
						<a class="menu" href="/Admin/Admin/index">
							<i class="fa fa-user"></i>
							<span>用户</span>
						</a>
					</li>
					<li>
						<a class="menu" href="/Admin/Role/index">
							<i class="fa fa-check-square-o"></i>
							<span>角色</span>
						</a>
					</li>
					<li>
						<a class="menu" href="/Admin/Brand/index">
							<i class="fa fa-check-square-o"></i>
							<span>品牌</span>
						</a>
					</li>
					@if(Auth::user()->partid==1)
						<li>
							<a class="menu" href="/Admin/Nav/index">
								<i class="fa fa-bars"></i>
								<span>导航</span>
							</a>
						</li>
						<li>
							<a class="menu" href="/Admin/Department/index">
								<i class="fa fa-bars"></i>
								<span>子站</span>
							</a>
						</li>
					@endif
					<li>
						<a class="menu" href="/Admin/Composition/index">
							<i class="fa fa-check-square-o"></i>
							<span>组成</span>
						</a>
					</li>
					<li>
						<a class="menu" href="/Admin/config/index">
							<i class="fa fa-check-square-o"></i>
							<span>设置</span>
						</a>
					</li>
				</ul>
			</div>
			<div id="right-bar" class="clear">
				<div class="main">
					@yield('content')
				</div>
			</div>
		</div>
		<div style="position: absolute;left: 45%;margin-top: 200px">
			<h1>{{ session()->get('doain')->botton }}</h1>
		</div>
	</body>
</html>